package pers.ht.mbpo.bean;

public class Notice {
    private int noticeId;
    private String noticeTitle;
    private String noticeDesc;

    public Notice() {
    }

    public Notice(String noticeTitle, String noticeDesc) {
        this.noticeTitle = noticeTitle;
        this.noticeDesc = noticeDesc;
    }

    public Notice(int noticeId, String noticeTitle, String noticeDesc) {
        this.noticeId = noticeId;
        this.noticeTitle = noticeTitle;
        this.noticeDesc = noticeDesc;
    }

    public int getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(int noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeDesc() {
        return noticeDesc;
    }

    public void setNoticeDesc(String noticeDesc) {
        this.noticeDesc = noticeDesc;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "noticeId='" + noticeId + '\'' +
                ", noticeTitle='" + noticeTitle + '\'' +
                ", noticeDesc='" + noticeDesc + '\'' +
                '}';
    }
}
